package ws.jdbc.concurrent.driver.sqlserver

import static java.sql.ResultSet.*

/**
 * Test case of CResultSetScrollableUpdatable class methods.
 *
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
class CResultSetScrollableUpdatableTest extends ScrollableUpdatableTest {

  /**
   * Run this before every test.
   */
  @Override
  void setUp() {
    super.setUp()

    def stmt = con.createStatement(TYPE_SCROLL_SENSITIVE, CONCUR_UPDATABLE)
    rs = stmt.executeQuery(sqlQuery)

    assertNotNull rs
    assertTrue rs instanceof CResultSetScrollableUpdatable
  }
}